﻿using Abp.Domain.Services;
using Hicap.AuthorizationServer.Core.Models.Sys;
using System.Threading.Tasks;

namespace Hicap.AuthorizationServer.Core.Domains.Sys.Users
{
    public interface IUsersManager : IDomainService
    {
        Task<User> ActiveUser(int id);

        Task NotificationUserActive(dynamic data);

        Task NotificationUserForgetPassword(dynamic data);

        Task<int> Register(User user);

        string GetPasswordSha256(string password);

        bool CheckUserPassword(string inputPassword, User user);

        Task<User> FindByUserCode(string usercode);
    }
}